package com.ftg.learn.bus.control_list.control_list_pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "权限表，用于为角色赋权")
public class control_list {

    @TableId
    @ApiModelProperty(value = "权限表主键")
    private String control_id;

    @ApiModelProperty(value = "角色id")
    private String role_id;

    @ApiModelProperty(value = "菜单id")
    private String control;

    @ApiModelProperty(value = "菜单id(赋予权限使用)")
    @TableField(select = false)
    private String[] controls;
}
